package com.tenbit.pdt.svc;

import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.tenbit.com.vo.ErrorMsgVO;
import com.tenbit.emp.vo.EMP1000VO;
import com.tenbit.pdt.vo.ItemInfoVO;
import com.tenbit.pdt.vo.ProductInfoVO;
import com.tobesoft.platform.data.Dataset;
import com.tobesoft.platform.data.DatasetList;
import com.tobesoft.platform.data.VariableList;

public interface PDT1000SVC {
	public List<Map<String, Object>> getProductInfoList(String page,Map<String, Object> paraMap);
	
	public ErrorMsgVO doValidateMain(VariableList variableList, DatasetList datasetList);
	
	public ErrorMsgVO doValidateCRUD(VariableList variableList, DatasetList datasetList);
	
	public Map<String, List<EMP1000VO>> getCodeZipList();
	
	public String getCategoryName(String code);
	
	public List<ItemInfoVO> getItemNameList();
	
	public void doUploadFile(MultipartFile file);
	
	public void insPDTInfo(ProductInfoVO vo);
	
	public Map<String, Object> getProductInfo(String productNum);
	
	public void setProductInfo(ProductInfoVO vo);
	
	public void delProductInfo(ProductInfoVO vo);
	
	public ErrorMsgVO doValidateForm(ProductInfoVO vo,MultipartFile file);
	
	public byte[] readFile(String fileName);
}
